package com.droowa.domain;

import java.io.Serializable;

public class MyShop implements Serializable{

	private String shopId;						
	private String shopName;
	private String shopDomain;
	private String shopManagerName;
	private String shopManagerEmail;
	private String shopManagerTel;
	private String corporationRegistNum;
	private String corporationName;
	private String shopAdd;
	private String shopTel;
	private String shopFax;
	private String shopEmail;
	
	private String counselTel;
	private String counselEmail;
	private String counselFax;
	private String smsNum;
	private String cSOperationTime;
	
	
	public MyShop() {
		super();
	}
	public MyShop(String shopId, String shopName, String shopDomain,
			String shopManagerName, String shopManagerEmail,
			String shopManagerTel, String corporationRegistNum,
			String corporationName, String shopAdd, String shopTel,
			String shopFax, String shopEmail, String counselTel,
			String counselEmail, String counselFax, String smsNum,
			String cSOperationTime) {
		super();
		this.shopId = shopId;
		this.shopName = shopName;
		this.shopDomain = shopDomain;
		this.shopManagerName = shopManagerName;
		this.shopManagerEmail = shopManagerEmail;
		this.shopManagerTel = shopManagerTel;
		this.corporationRegistNum = corporationRegistNum;
		this.corporationName = corporationName;
		this.shopAdd = shopAdd;
		this.shopTel = shopTel;
		this.shopFax = shopFax;
		this.shopEmail = shopEmail;
		this.counselTel = counselTel;
		this.counselEmail = counselEmail;
		this.counselFax = counselFax;
		this.smsNum = smsNum;
		this.cSOperationTime = cSOperationTime;
	}
	public String getShopId() {
		return shopId;
	}
	public void setShopId(String shopId) {
		this.shopId = shopId;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	public String getShopDomain() {
		return shopDomain;
	}
	public void setShopDomain(String shopDomain) {
		this.shopDomain = shopDomain;
	}
	public String getShopManagerName() {
		return shopManagerName;
	}
	public void setShopManagerName(String shopManagerName) {
		this.shopManagerName = shopManagerName;
	}
	public String getShopManagerEmail() {
		return shopManagerEmail;
	}
	public void setShopManagerEmail(String shopManagerEmail) {
		this.shopManagerEmail = shopManagerEmail;
	}
	public String getShopManagerTel() {
		return shopManagerTel;
	}
	public void setShopManagerTel(String shopManagerTel) {
		this.shopManagerTel = shopManagerTel;
	}
	public String getCorporationRegistNum() {
		return corporationRegistNum;
	}
	public void setCorporationRegistNum(String corporationRegistNum) {
		this.corporationRegistNum = corporationRegistNum;
	}
	public String getCorporationName() {
		return corporationName;
	}
	public void setCorporationName(String corporationName) {
		this.corporationName = corporationName;
	}
	public String getShopAdd() {
		return shopAdd;
	}
	public void setShopAdd(String shopAdd) {
		this.shopAdd = shopAdd;
	}
	public String getShopTel() {
		return shopTel;
	}
	public void setShopTel(String shopTel) {
		this.shopTel = shopTel;
	}
	public String getShopFax() {
		return shopFax;
	}
	public void setShopFax(String shopFax) {
		this.shopFax = shopFax;
	}
	public String getShopEmail() {
		return shopEmail;
	}
	public void setShopEmail(String shopEmail) {
		this.shopEmail = shopEmail;
	}
	public String getCounselTel() {
		return counselTel;
	}
	public void setCounselTel(String counselTel) {
		this.counselTel = counselTel;
	}
	public String getCounselEmail() {
		return counselEmail;
	}
	public void setCounselEmail(String counselEmail) {
		this.counselEmail = counselEmail;
	}
	public String getCounselFax() {
		return counselFax;
	}
	public void setCounselFax(String counselFax) {
		this.counselFax = counselFax;
	}
	public String getSmsNum() {
		return smsNum;
	}
	public void setSmsNum(String smsNum) {
		this.smsNum = smsNum;
	}
	public String getcSOperationTime() {
		return cSOperationTime;
	}
	public void setcSOperationTime(String cSOperationTime) {
		this.cSOperationTime = cSOperationTime;
	}
	@Override
	public String toString() {
		return "MyShop [shopId=" + shopId + ", shopName=" + shopName
				+ ", shopDomain=" + shopDomain + ", shopManagerName="
				+ shopManagerName + ", shopManagerEmail=" + shopManagerEmail
				+ ", shopManagerTel=" + shopManagerTel
				+ ", corporationRegistNum=" + corporationRegistNum
				+ ", corporationName=" + corporationName + ", shopAdd="
				+ shopAdd + ", shopTel=" + shopTel + ", shopFax=" + shopFax
				+ ", shopEmail=" + shopEmail + ", counselTel=" + counselTel
				+ ", counselEmail=" + counselEmail + ", counselFax="
				+ counselFax + ", smsNum=" + smsNum + ", cSOperationTime="
				+ cSOperationTime + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((cSOperationTime == null) ? 0 : cSOperationTime.hashCode());
		result = prime * result
				+ ((corporationName == null) ? 0 : corporationName.hashCode());
		result = prime
				* result
				+ ((corporationRegistNum == null) ? 0 : corporationRegistNum
						.hashCode());
		result = prime * result
				+ ((counselEmail == null) ? 0 : counselEmail.hashCode());
		result = prime * result
				+ ((counselFax == null) ? 0 : counselFax.hashCode());
		result = prime * result
				+ ((counselTel == null) ? 0 : counselTel.hashCode());
		result = prime * result + ((shopAdd == null) ? 0 : shopAdd.hashCode());
		result = prime * result
				+ ((shopDomain == null) ? 0 : shopDomain.hashCode());
		result = prime * result
				+ ((shopEmail == null) ? 0 : shopEmail.hashCode());
		result = prime * result + ((shopFax == null) ? 0 : shopFax.hashCode());
		result = prime * result + ((shopId == null) ? 0 : shopId.hashCode());
		result = prime
				* result
				+ ((shopManagerEmail == null) ? 0 : shopManagerEmail.hashCode());
		result = prime * result
				+ ((shopManagerName == null) ? 0 : shopManagerName.hashCode());
		result = prime * result
				+ ((shopManagerTel == null) ? 0 : shopManagerTel.hashCode());
		result = prime * result
				+ ((shopName == null) ? 0 : shopName.hashCode());
		result = prime * result + ((shopTel == null) ? 0 : shopTel.hashCode());
		result = prime * result + ((smsNum == null) ? 0 : smsNum.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		MyShop other = (MyShop) obj;
		if (cSOperationTime == null) {
			if (other.cSOperationTime != null)
				return false;
		} else if (!cSOperationTime.equals(other.cSOperationTime))
			return false;
		if (corporationName == null) {
			if (other.corporationName != null)
				return false;
		} else if (!corporationName.equals(other.corporationName))
			return false;
		if (corporationRegistNum == null) {
			if (other.corporationRegistNum != null)
				return false;
		} else if (!corporationRegistNum.equals(other.corporationRegistNum))
			return false;
		if (counselEmail == null) {
			if (other.counselEmail != null)
				return false;
		} else if (!counselEmail.equals(other.counselEmail))
			return false;
		if (counselFax == null) {
			if (other.counselFax != null)
				return false;
		} else if (!counselFax.equals(other.counselFax))
			return false;
		if (counselTel == null) {
			if (other.counselTel != null)
				return false;
		} else if (!counselTel.equals(other.counselTel))
			return false;
		if (shopAdd == null) {
			if (other.shopAdd != null)
				return false;
		} else if (!shopAdd.equals(other.shopAdd))
			return false;
		if (shopDomain == null) {
			if (other.shopDomain != null)
				return false;
		} else if (!shopDomain.equals(other.shopDomain))
			return false;
		if (shopEmail == null) {
			if (other.shopEmail != null)
				return false;
		} else if (!shopEmail.equals(other.shopEmail))
			return false;
		if (shopFax == null) {
			if (other.shopFax != null)
				return false;
		} else if (!shopFax.equals(other.shopFax))
			return false;
		if (shopId == null) {
			if (other.shopId != null)
				return false;
		} else if (!shopId.equals(other.shopId))
			return false;
		if (shopManagerEmail == null) {
			if (other.shopManagerEmail != null)
				return false;
		} else if (!shopManagerEmail.equals(other.shopManagerEmail))
			return false;
		if (shopManagerName == null) {
			if (other.shopManagerName != null)
				return false;
		} else if (!shopManagerName.equals(other.shopManagerName))
			return false;
		if (shopManagerTel == null) {
			if (other.shopManagerTel != null)
				return false;
		} else if (!shopManagerTel.equals(other.shopManagerTel))
			return false;
		if (shopName == null) {
			if (other.shopName != null)
				return false;
		} else if (!shopName.equals(other.shopName))
			return false;
		if (shopTel == null) {
			if (other.shopTel != null)
				return false;
		} else if (!shopTel.equals(other.shopTel))
			return false;
		if (smsNum == null) {
			if (other.smsNum != null)
				return false;
		} else if (!smsNum.equals(other.smsNum))
			return false;
		return true;
	}
	
}
